<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>提示</title>
    {% include "component/static_resource_css.html" %}
</head>
<body>

<div class="nk-container">
    {% include "component/header.html" %}

    <!-- 内容 -->
    <div class="main">
        <div class="container pl-5 pr-5 pt-3 pb-3 mt-3 mb-3">
            <img src="/static/img/200.png" style="width: 600px"/>
            <h1>{{ msg }}</h1>
            {% if target %}
                <span>操作完成, 三秒后将跳转至 {{ target }}....</span>
            {% else %}
                <span>操作完成, 三秒后将跳转至首页....</span>
            {% endif %}


        </div>
    </div>
    <div class="container" style="padding-bottom: 180px"></div>
    {% include "component/footer.html" %}
</div>

{% include "component/static_resource_js.html" %}
<script>
    $(document).ready(function () {
        setInterval(function () {
            var target = "/index"
            {% if target  %}
                target = "{{ target }}"
            {% endif %}
            window.location.href = target
            // 要执行的代码
        }, 3000);
    })
</script>

</body>
</html>